/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package anivis.base;

import anivis.db.QueryLayer.RestrictionType;

import java.util.Set;

/**
 *
 * @author urp
 */
public class DataAvailableNotification implements Notification
{
  Set<RestrictionType> restrictionTypes;
  
  public  DataAvailableNotification(Set<RestrictionType> r)
  {
      restrictionTypes = r;
  }
  
  public boolean isDataAvaialableNotification() 
  {
    return true;
  }

  public boolean isRestrictionNotification() 
  {
    return false;
  }

  public Set<RestrictionType> getRestrictionTypes()
  {
    return restrictionTypes;
  }
}
